IPB
X   Site Message
(Message will auto close in 2 seconds)
> Jackpot Game!, this game for lava users
inet
post Jun 17 2008, 08:06 PM
Post #1


Beginner
**

Group: Members
Posts: 45
Joined: 5-September 07
Member No.: 13,922




so get me hired as your personal coder for your games or you can buy some of my games wink.gif



Make some donation to help me as your game provider! I will code 15 games for lavalair script users

this game is dedicated to my family friends and all for filipinos

this is my ideas to share to all

Hope you found good script from me!

ad this to your if else statments for losers and winers

$pmtext="Your Bet: $bet . Your Digit: $guess1. The winning number is $num1 . Yes, you lose $bet ! ";

$tm = time();
$res = mysql_query("INSERT INTO ibwf_private SET text='".$pmtext."', byuid='57', touid='".$uid."', timesent='".$tm."'");

$pmtext="Your Bet: $bet . Your Digit: $guess1 . The winning number is $num1 . Yes, you win! $dagdag ";

$tm = time();
$res = mysql_query("INSERT INTO ibwf_private SET text='".$pmtext."', byuid='57', touid='".$uid."', timesent='".$tm."'");


see this ( byuid='57') this is the id of the owner or bot info


CODE
<?php
//////original copy of wapple adventure changed title to Ancient Empires
///// pinoy2.com official games xyve aka facedown ideas!
$version = "version: 3";
$adven = "On the Spot Jackpot!";
$adven2 = "Instant Jackpot Money! A modified lucky 9";
//$xyvepotmoney = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='potmoney'"));

$updates = "Updates by: your name <br/> Yoursite.com";

?>

<?php
//header('Content-type: application/vnd.wap.xhtml+xml');
echo "<?xml version=\"1.0\"?>";
echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
include("config.php");
include("core.php");
$bcon = connectdb();

if (!$bcon)
{
echo "<head>";
echo "<title>Pinoy2.com</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white.css\">";
echo "<head>";
echo "<body>";
echo "<p align=\"center\">";
echo "<img src=\"../images/notok.gif\" alt=\"!\"/><br/>";
echo "<b><strong>Error! Cannot Connect To Database...</strong></b><br/><br/>";
echo "This error happens usually when backing up the database, please be patient... or go to our chatsite <a href=\"http://pinoy2.com/index.php\">http://www.pinoy2.com</a>";
echo "</p>";
echo "</body>";
echo "</html>";
exit();
}

$bet = $_GET["bet"];
$guess1 = $_GET["guess1"];
$action = $_GET["action"];
$sid = $_GET["sid"];
$sitename = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='sitename'"));
$sitename = $sitename[0];
$uid = getuid_sid($sid);
$theme = mysql_fetch_array(mysql_query("SELECT theme FROM ibwf_users WHERE id='".$uid."'"));

if((islogged($sid)==false)||($uid==0))
{
echo "<head>";
echo "<title>Error!!!</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white_medium.css\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
echo "You are not logged in<br/>";
echo "Or Your session has been expired<br/><br/>";
echo "<a href=\"http://pinoy2.com/index.php\">Login</a>";
echo "</p>";
echo "</body>";
echo "</html>";
exit();
}
if(isbanned($uid))
{
echo "<head>";
echo "<title>pinoy2.com !!!</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "<head>";
echo "<body>";
echo "<p align=\"center\">";
echo "<img src=\"../images/notok.gif\" alt=\"x\"/><br/>";
echo "<b>You are Banned</b><br/><br/>";
$banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM ibwf_parusa WHERE uid='".$uid."' AND penalty='1' OR uid='".$uid."' AND penalty='2'"));
$banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id='".$uid."'"));
$remain = $banto[0]- time();
$rmsg = gettimemsg($remain);
echo "<b>Time Left: </b>$rmsg<br/>";
$nick = getnick_uid($banto[2]);
echo "<b>By: </b>$nick<br/>";
echo "<b>Reason: </b>$banto[1]";
echo "<a href=\"http://pinoy2.com/index.php\">Login</a>";
echo "</p>";
echo "</body>";
echo "</html>";
exit();
}
if($action=="main"))
{
addonline(getuid_sid(($sid),"playing $adven","../Jackpot3.php?action=main&sid=$sid");
$view = $_GET["view"];
if($view=="")$view="date";
echo "<card id=\"main\" title=\"Playing adventure\">";
echo "<p align=\"center\">";
echo "<img src=\"images/roll.gif\" alt=\"*\"/><br/>";
echo "<b>see and play pinoy2.com ($adven2) $adven? Well good luck!<br/>Script created by facedown_pogi@yahoo.com!</b>";
echo "</p>";
//////ALL LISTS SCRIPT <<
echo "<center><b><a href=\"Jackpot3.php?action=go&sid=$sid\">[Go]<br/> pinoy2! este Pinoy to! isigaw mo! JACKPOT!</a><br/>
Advertisers: $x</b></center>";


echo "</p>";
////// UNTILL HERE >>
echo "<p align=\"center\">";
echo "<center><a href=\"index.php?action=funm&sid=$sid\"><img src=\"images/roll.gif\" alt=\"*\"/>";
echo "Fun/Games</a><br/>";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a></center>";
echo "</p>";
echo "<br/>";
}
else if($action=="go"))
{
addonline(getuid_sid($sid),"playing $adven","../Jackpot3.php?action=main&sid=$sid");
$view = $_GET["view"];
if($view=="")$view="date";
echo "<card id=\"main\" title=\"wapple super games\">";
echo "<p align=\"center\">";
echo "<big><b>$adven $version</b></big><br/>";
echo "<b><small><u> © Pinoy2.com </u><br/>Script created by facedown_pogi@yahoo.com!</small></b>";
echo "</p>";

if(getplusses(getuid_sid($sid))<75))
{
echo "You need at least 75 plusses to play Jackpot! Stay away!";
}

//////ALL LISTS SCRIPT <<

$bet = $_POST["bet"];
echo "<p align=\"center\">";

echo "<center><u><font color= red><b> <blink>© Pinoy2.com </blink></b></font></u><br/>Advertisers: $x<br/>$updates<br/>Jackpot money is <b>$xyvepotmoney</b><br/><b>Please choose your bet! </b><br/> This is an instant jackpot game!<br/> Your bet will be multiplied by the current jackpot!<br/><small><u>The more you bet, the more you win!</u><br/> The cost of game is per bet minus in your current plusses! <br/><i> The minimum bet is ten!</i></small><br/>";

echo "<form action=\"Jackpot3.php?action=a&sid=$sid\" method=\"post\"><br/>";
echo "<font color= orange><b>Your Bet:</b></font><select name=\"bet\">";
echo "<option value=\"10\">10 Plusses</option>";
echo "<option value=\"20\">20 Plusses</option>";
echo "<option value=\"30\">30 Plusses</option>";
echo "<option value=\"40\">40 Plusses</option>";
echo "<option value=\"50\">50 Plusses</option>";
echo "<option value=\"60\">60 Plusses</option>";
echo "<option value=\"70\">70 Plusses</option>";
echo "<option value=\"80\">80 Plusses</option>";
echo "<option value=\"90\">90 Plusses</option>";
echo "<option value=\"100\">100 Plusses</option>";
echo "</select><br/>";


echo "<br/><b>Choose your number from 1 to 9 in the selection box bellow!</b><br/> Our system will send immidiately the prize and will send the confirmation of your winnings at your inbox!<br/> So choose wisely!<br/><small><u>You get 100 bonus plusses if you win!</u></small><br/>";


echo "<font color= blue><b>Choose Your Digit:</b></font><select name=\"guess1\">";
echo "<option value=\"0\">--blank--</option>";
echo "<option value=\"1\"> -1- </option>";
echo "<option value=\"2\"> -2- </option>";
echo "<option value=\"3\"> -3- </option>";
echo "<option value=\"4\"> -4- </option>";
echo "<option value=\"5\"> -5- </option>";
echo "<option value=\"6\"> -6- </option>";
echo "<option value=\"7\"> -7- </option>";
echo "<option value=\"8\"> -8- </option>";
echo "<option value=\"9\"> -9- </option>";
echo "</select><br/>";
echo "<input type=\"Submit\" Name=\"Submit\" Value=\"Submit\"></center>";



echo "</p>";


////// UNTILL HERE >>
echo "<p align=\"center\">";
echo "<center><a href=\"index.php?action=funm&sid=$sid\">«back to fun menu</a><br/>";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a></center>";
echo "</p>";
echo "<br/>";
}
if($action=="a")
{
addonline(getuid_sid($sid),"playing $adven","");
echo "<head>";
echo "<title>play $adven $version</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";

//////ALL LISTS SCRIPT <<

$num1 = rand(1, 9);

$guess1 = $_POST["guess1"];

$bet = $_POST["bet"];



$uid = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_ses WHERE id='".$sid."'"));
$uid = $uid[0];
$usrid = $uid;
echo "<b><u>$adven $version</u></b><br/>";
echo "<b>$adven2</b><br/>";

echo "<center><br/> Mananalo ka sa Jakpot kapag may natanggap ka na mensahe sa inbox!<br/> You win if you see YES YOU WIN in your mail inbox!<br/><small><u>You get 100 bonus point plusses if you win!</u></small><br/>";

echo "<p align=\"center\"><a href=\"Jackpot3.php?action=go&sid=$sid\">[Try Again]</a><br/>";
echo "</p>";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
echo "Current Plusses: <b>$ugpl</b><br/>";
echo "Your Bet: <b>$bet</b>";
echo "Your Digit: <b>$guess1</b>";
echo "The Winning Number is: <b>$num1</b>";

if($num1==$guess1)
{
$tval = $bet+100;
$npluss = $ugpl+$tval;
echo "<img src=\"images/win.gif\" alt=\"O\"/><br/>";
echo "Win!<br/><br/>";
if(@mysql_query("UPDATE ibwf_users SET plusses='".$npluss."' WHERE id='".$uid."'"))
{
echo "So you have won $tval<br/><br/>";
}
}else{
$npluss = $ugpl-$bet;
echo "<img src=\"images/lose.gif\" alt=\"X\"/><br/>";
echo "Lose!<br/><br/>";
if(@mysql_query("UPDATE ibwf_users SET plusses='".$npluss."' WHERE id='".$uid."'"))
{
echo "So you have lost $bet<br/><br/>";
}
}


echo "<small><a href=\"index.php?action=funm&sid=$sid\">«Back To Fun Zone</a></small>";
echo "<br/>----------<br/>";
echo "<b>0 </b><a accesskey=\"0\" href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a></center>";
echo "</p>";
echo "</body>";
}
?>


This post has been edited by wizard: Jun 21 2008, 08:32 AM
Reason for edit: poorly coded. mixing wml with xhtml and not even closing cards r html doc will surely cause problems
Go to the top of the pageReport Post
Edit Post+Quote Post
3 Pages V  < 1 2 3 >  
Start new topic
Replies (10 - 19)
inca
post Jun 19 2008, 09:35 AM
Post #11


Newbie
*

Group: Members
Posts: 10
Joined: 16-February 08
Member No.: 16,336



Something like this:

if($num1==$guess1){
$pmtext="Your Bet: $bet . Your Digit: $guess1 . The winning number is $num1 . Yes, you win! $dagdag ";
}else{
$pmtext="Your Bet: $bet . Your Digit: $guess1. The winning number is $num1 . Yes, you lose $bet ! ";
}

$tm = time();
mysql_query("INSERT INTO ibwf_private SET text='".$pmtext."', byuid='1', touid='".$uid."', timesent='".$tm."'");

n maybee an update of plusses etc

This post has been edited by inca: Jun 19 2008, 09:39 AM
Go to the top of the pageReport Post
+Quote Post
inet
post Jun 19 2008, 07:11 PM
Post #12


Beginner
**

Group: Members
Posts: 45
Joined: 5-September 07
Member No.: 13,922



I have thousands of ideas to come lol such i'm not worried to release one of my scripts.. lol

i'm planning to release the rpg for all.. what would be the wap world with having sites with lots of games to critical to all admins..

well actually, giving new games is the best way to achieve new members.. well i'm not planning to be just wapmaster but instead a seller of games scripts.. tnt lol i just earned 40 dollars last night...


i will code in exchange of money.. thats my very reason lol.. i'm earning.. tnt

this script only prove that i will sell my ideas to all..
Go to the top of the pageReport Post
Edit Post+Quote Post
inet
post Jun 19 2008, 07:41 PM
Post #13


Beginner
**

Group: Members
Posts: 45
Joined: 5-September 07
Member No.: 13,922



QUOTE(modfiles @ Jun 18 2008, 09:54 PM) *
nice share.. biggrin.gif

you posted the script already, simon might just copy and edit some part of it instead of buying it blum.gif


i'm not worried, coz i have plenty of ideas to come,

natasu would you mind to see if my account in your site alredy deleted?
Go to the top of the pageReport Post
Edit Post+Quote Post
metulj
post Jun 19 2008, 10:07 PM
Post #14


Real Poster
Group Icon

Group: Moderators
Posts: 358
Joined: 24-January 07
From: right here at your screen! ;p
Member No.: 11,167



QUOTE(inet @ Jun 20 2008, 04:11 AM) *
I have thousands of ideas to come lol such i'm not worried to release one of my scripts.. lol

i'm planning to release the rpg for all.. what would be the wap world with having sites with lots of games to critical to all admins..

well actually, giving new games is the best way to achieve new members.. well i'm not planning to be just wapmaster but instead a seller of games scripts.. tnt lol i just earned 40 dollars last night...
i will code in exchange of money.. thats my very reason lol.. i'm earning.. tnt

this script only prove that i will sell my ideas to all..


CODE
<?php
//////original copy of wapple adventure changed title to Ancient Empires
///// pinoy2.com  official games xyve aka facedown ideas!............


so you gonna sell other ppl work?


--------------------
~~~~~~~~~~~~~~~~~
THEORY is when you know something,
but it doesn't work.

PRACTICE is when something works,
but you don't know why.

PROGRAMMERS combine theory and practice:
Nothing works and they don't know why!

~~~~~~~~~~~~~~~~~~
You have ONLY ONE advantage
over me... you can kiss
my ass, and I cant!

~~~~~~~~~
Go to the top of the pageReport Post
+Quote Post
wizard
post Jun 20 2008, 12:53 AM
Post #15


Forum GURU
Group Icon

Group: Moderators
Posts: 617
Joined: 25-April 06
From: kingston
Member No.: 6,895



Here's the game without the errors.
Just upload the file to where you have your index.php, core.php etc... as jackpot.php and link it in your fun menu like

CODE
echo '<small><a href="jackpot.php?sid='.$sid.'">JackPot</a></small><br/>';


create your own image, jackpot.gif and upload it to your images folder. i havent tested the script so if you see any errors or bugs please report them here and i'll fix it

CODE
<?php

/**
* @Copyright wizard <mc_jayrulez@yahoo.com.au>
* @File: jackpot.php
* @param: $sid
*/

header('Content-type: text/vnd.wap.wml');

echo '<?xml version="1.0" encoding="utf-8"?>';
echo '<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">';

echo '<wml>';

include("config.php");

include("core.php");

function canplay_jackpot($uid)
{
    $sql = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
    if($sql[0]>=10)
    {
        return true;
    }else{
        false;
    }
}

$bcon   = connectdb();
$sid    = $_GET['sid'];
$uid    = getuid_sid($sid);
$action = $_GET['action'];

if(!$bcon)
{
    echo '<card id="main" title="Database Error">';
    echo '<p align="center">';
    echo '<img src="images/notok.gif" alt="X"/>';
    echo '<br/>';
    echo '<small>Database Connection Error, please try again later!</small>';
    echo '</p>';
    echo '<p align="center">';
    echo '<small><a href="index.php?action=funm&amp;sid='.$sid.'"><img src="images/roll.gif" alt="*"/>';
    echo 'Fun Menu</a></small>';
    echo '<br/>';
    echo '<small><a href="index.php?action=main&amp;sid='.$sid.'"><img src="images/home.gif" alt="*"/>';
    echo 'Home</a></small>';
    echo '</p>';
    echo '</card>';
    echo '</wml>';
    exit();
}

if(!islogged($sid))
{
    echo '<card id="main" title="Login Error">';
    echo '<p align="center">';
    echo '<img src="images/notok.gif" alt="X"/>';
    echo '<br/>';
    echo '<small>You are not logged in or your session has expired!</small>';
    echo '<br/>';
    echo '<small><a href="login.php">Login</a></small>';
    echo '</p>';
    echo '<p align="center">';
    echo '<small><a href="index.php?action=main&amp;sid='.$sid.'"><img src="images/home.gif" alt="*"/>';
    echo 'Home</a></small>';
    echo '</p>';
    echo '</card>';
    echo '</wml>';
    exit();
}

if(isbanned($uid))
{
    echo '<card id="main" title="Login Error">';
    echo '<p align="center">';
    echo '<img src="images/notok.gif" alt="X"/>';
    echo '<br/>';
    echo '<small>';
    echo '<b>You are Banned</b><br/>';
    echo '<br/>';
    $sql    = "SELECT timeto, pnreas, exid
               FROM ibwf_parusa
               WHERE uid='".$uid."'
               AND penalty='1' OR uid='".$uid."'
               AND penalty='2'
              ";
    $banto  = mysql_fetch_array(mysql_query($sql));
    $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id='".$uid."'"));
    $remain = $banto[0]- time();
    $rmsg   = gettimemsg($remain);
    echo '<b>Time Left: </b>'.$rmsg.'';
    echo '<br/>';
    $nick = getnick_uid($banto[2]);
    echo '<b>By: </b>'.$nick.'';
    echo '<br/>';
    echo '<b>Reason: </b>'.$banto[1].'';
    echo '</small>';
    echo '</p>';
    echo '<p align="center">';
    echo '<small><a href="index.php?action=main&amp;sid='.$sid.'"><img src="images/home.gif" alt="*"/>';
    echo 'Home</a></small>';
    echo '</p>';
    echo '</card>';
    echo '</wml>';
    exit();
}

if(!canplay_jackpot($uid))
{
    echo '<card id="main" title="Error">';
    echo '<p align="center">';
    echo '<img src="images/notok.gif" alt="X"/>';
    echo '<br/>';
    echo '<small>You must have atleast 10 plusses to play JackPot!</small>';
    echo '<br/>';
    echo '</p>';
    echo '<p align="center">';
    echo '<small><a href="index.php?action=funm&amp;sid='.$sid.'"><img src="images/roll.gif" alt="*"/>';
    echo 'Fun Menu</a></small>';
    echo '<br/>';
    echo '<small><a href="index.php?action=main&amp;sid='.$sid.'"><img src="images/home.gif" alt="*"/>';
    echo 'Home</a></small>';
    echo '</p>';
    echo '</card>';
    echo '</wml>';
    exit();
}

if($action=='play')
{
    echo '<card id="main" title="JackPot">';
    echo '<p align="center">';
    echo '<img src="images/jackpot.gif" alt="*"/>';
    echo '<br/>';
    echo '<small>Place your bet</small>';
    echo '<br/>';
    echo '<select name="bet">';
    echo '<option value="10">10</option>';
    echo '<option value="20">20</option>';
    echo '<option value="30">30</option>';
    echo '<option value="40">40</option>';
    echo '<option value="50">50</option>';
    echo '<option value="60">60</option>';
    echo '<option value="70">70</option>';
    echo '<option value="80">80</option>';
    echo '<option value="90">90</option>';
    echo '<option value="100">100</option>';
    echo '</select>';
    echo '<br/>';
    echo '<small>Choose your lucky number</small>';
    echo '<br/>';
    echo '<select name="lucky_number">';
    echo '<option value="1">1</option>';
    echo '<option value="2">2</option>';
    echo '<option value="3">3</option>';
    echo '<option value="4">4</option>';
    echo '<option value="5">5</option>';
    echo '<option value="6">6</option>';
    echo '<option value="7">7</option>';
    echo '<option value="8">8</option>';
    echo '<option value="9">9</option>';
    echo '<option value="10">10</option>';
    echo '</select>';
    echo '<br/>';
    echo '<anchor>[Spin]<go href="jackpot.php?action=do_bet&amp;sid='.$sid.'" method="post">';
    echo '<postfield name="bet" value="$(bet)"/>';
    echo '<postfield name="lucky_number" value="$(lucky_number)"/>';
    echo '</go></anchor>';
    echo '</p>';
    echo '<p align="center">';
    echo '<small><a href="index.php?action=funm&amp;sid='.$sid.'"><img src="images/roll.gif" alt="*"/>';
    echo 'Fun Menu</a></small>';
    echo '<br/>';
    echo '<small><a href="index.php?action=main&amp;sid='.$sid.'"><img src="images/home.gif" alt="*"/>';
    echo 'Home</a></small>';
    echo '</p>';
    echo '</card>';
}else if($action=='do_bet')
{
    if(isset($_POST))
    {
        $bet          = $_POST['bet'];
        $lucky_number = $_POST['lucky_number'];
        $random = rand(1,10);

        echo '<card id="main" title="JackPot">';
        echo '<p align="center">';
        echo '<img src="images/jackpot.gif" alt="*"/>';
        echo '<br/>';
        echo '<small>JackPot Result</small>';
        echo '<br/>';
        echo '<br/>';
        
        $uplus = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
        
        echo '<small>Your Plusses: <b>'.$uplus[0].'</b></small>';
        echo '<br/>';
        echo '<br/>';
        echo '<small>Your lucky number: <b>'.$lucky_number.'</b></small>';
        echo '<br/>';
        echo '<small>The winning number: <b>'.$random.'</b></small>';
        echo '<br/>';
        echo '<br/>';
            
        if($lucky_number==$random)
        {
            $var   = $bet * 2;
            $nplus = $uplus[0] + $var;

            if(@mysql_query("UPDATE ibwf_users SET plusses='".$nplus."' WHERE id='".$uid."'"))
            {
                echo '<small>You have recieved '.$var.' plusses for winning</small>';
                echo '<br/>';
                echo 'You now have '.$nplus.' plusses left.';
                echo '<br/>';
            }
        }else{
            $nplus = $uplus[0] - $bet;
            if($nplus<0)
            {
                $nplus = 0;
            }
            if(@mysql_query("UPDATE ibwf_users SET plusses='".$nplus."' WHERE id='".$uid."'"))
            {
                echo '<small>You have lost '.$bet.' plusses for losing</small>';
                echo '<br/>';
                echo 'You now have '.$nplus.' plusses left.';
                echo '<br/>';
            }
        }
        echo '<br/>';
        echo '<small><a href="jackpot.php?action=play&amp;sid='.$sid.'">Try Again</a></small>';
        
        echo '</p>';
        echo '<p align="center">';
        echo '<small><a href="index.php?action=funm&amp;sid='.$sid.'"><img src="images/roll.gif" alt="*"/>';
        echo 'Fun Menu</a></small><br/>';
        echo '<small><a href="index.php?action=main&amp;sid='.$sid.'"><img src="images/home.gif" alt="*"/>';
        echo 'Home</a></small>';
        echo '</p>';
        echo '</card>';
    }else{
        echo '<card id="main" title="Cheater">';
        echo '<p align="center">';
        echo '<small>What the hell are you trying???</small><br/>';
        echo '</p>';
        echo '<p align="center">';
        echo '<small><a href="index.php?action=funm&amp;sid='.$sid.'"><img src="images/roll.gif" alt="*"/>';
        echo 'Fun Menu</a></small>';
        echo '<br/>';
        echo '<small><a href="index.php?action=main&amp;sid='.$sid.'"><img src="images/home.gif" alt="*"/>';
        echo 'Home</a></small>';
        echo '</p>';
        echo '</card>';
    }
}else{
    echo '<card id="main" title="JackPot">';
    echo '<p align="center">';
    echo '<img src="images/jackpot.gif" alt="*"/>';
    echo '<br/>';
    echo '<small>So you want to challenge our dealer and Win the jackpot!</small>';
    echo '<br/>';
    echo '<small>If you think you got what it takes, click below:</small>';
    echo '<br/>';
    echo '<small><a href="jackpot.php?action=play&amp;sid='.$sid.'">Play Now</a></small>';
    echo '</p>';
    echo '<p align="center">';
    echo '<small><a href="index.php?action=funm&amp;sid='.$sid.'"><img src="images/roll.gif" alt="*"/>';
    echo 'Fun Menu</a></small>';
    echo '<br/>';
    echo '<small><a href="index.php?action=main&amp;sid='.$sid.'"><img src="images/home.gif" alt="*"/>';
    echo 'Home</a></small>';
    echo '</p>';
    echo '</card>';
}

echo '</wml>';

?>
Reason for edit: tweaked


--------------------
Go to the top of the pageReport Post
+Quote Post
inet
post Jun 20 2008, 05:44 PM
Post #16


Beginner
**

Group: Members
Posts: 45
Joined: 5-September 07
Member No.: 13,922



QUOTE(metulj @ Jun 19 2008, 10:07 PM) *
CODE
<?php
//////original copy of wapple adventure changed title to Ancient Empires
///// pinoy2.com  official games xyve aka facedown ideas!............


so you gonna sell other ppl work?



lol i coded wapple adventure..


it is my signiture game lol...


my name is xyve...


as you seen in wapple adventure..


king xyve



my name is in that game lol...

my signiture includes $adven coz that is the second gamescript that i coded...


"Ancient empires" is the title of that game when i sold it to someone..


I coded my "jack en poy game" or "jnp" from scratch... then i used JNP as the base script

after that i created Wapple adventure game

then i rename it to Ancient empires sold to a south african wapmaster...


then after that i coded my new game, wapjueteng.. then after that i created jackpot.. then after jackpot, i created


poker lol


this lines are one of my signiture lol..

//////original copy of wapple adventure changed title to Ancient Empires
///// pinoy2.com official games xyve aka facedown ideas!............


$adven




eg... i posted this before in here
CODE

<?php
//////original copy of wapple adventure changed title to Ancient Empires
/////// new games for sale just send private message to me
//////////heres my version

$version = "version: v1.0";
forsale games: whammy push your luck,wap poker online game

$adven = "whammy push your luck!";
$adven2 = "swerte!";

?>

<?php
//header('Content-type: application/vnd.wap.xhtml+xml');
echo "<?xml version=\"1.0\"?>";
echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
include("config.php");
include("core.php");
$bcon = connectdb();

if (!$bcon)
{
echo "<head>";
echo "<title>Chapel</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white.css\">";
echo "<head>";
echo "<body>";
echo "<p align=\"center\">";
echo "<img src=\"../images/notok.gif\" alt=\"!\"/><br/>";
echo "<b><strong>Error! Cannot Connect To Database...</strong></b><br/><br/>";
echo "This error happens usually when backing up the database, please be patient...";
echo "</p>";
echo "</body>";
echo "</html>";
exit();
}

$action = $_GET["action"];
$sid = $_GET["sid"];
$sitename = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='sitename'"));
$sitename = $sitename[0];
$uid = getuid_sid($sid);
$theme = mysql_fetch_array(mysql_query("SELECT theme FROM ibwf_users WHERE id='".$uid."'"));

if((islogged($sid)==false)||($uid==0))
{
echo "<head>";
echo "<title>Error!!!</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white_medium.css\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
echo "You are not logged in<br/>";
echo "Or Your session has been expired<br/><br/>";
echo "<a href=\"http://wapple.890m.com/index.php\">Login</a>";
echo "</p>";
echo "</body>";
echo "</html>";
exit();
}
if(isbanned($uid))
{
echo "<head>";
echo "<title>Error!!!</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
echo "<img src=\"../images/notok.gif\" alt=\"x\"/><br/>";
echo "<b>You are Banned</b><br/><br/>";
$banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM ibwf_penalties WHERE uid='".$uid."' AND penalty='1' OR uid='".$uid."' AND penalty='2'"));
$banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id='".$uid."'"));
$remain = $banto[0]- time();
$rmsg = gettimemsg($remain);
echo "<b>Time Left: </b>$rmsg<br/>";
$nick = getnick_uid($banto[2]);
echo "<b>By: </b>$nick<br/>";
echo "<b>Reason: </b>$banto[1]";
echo "<a href=\"http://wapple.890m.com/index.php\">Login</a>";
echo "</p>";
echo "</body>";
echo "</html>";
exit();
}
if($action=="chpreqref")
{
$id=$_GET["id"];

addonline(getuid_sid($sid),"XHTML - Chapel","index.php?action=$action");
echo "<body>";
echo "<p>"; echo "<u><b>Chapel</b></u>";
echo "</p>";
echo "<p>";
$dbinfo=mysql_fetch_array(mysql_query("SELECT * FROM ibwf_married WHERE id='".$id."'"));
$frmnick=getnick_uid($dbinfo["frmuid"]);
echo "Aww, We are sorry to hear about You Decision, your proposer has been informed of your decison, thank you";
$dbinfo2=mysql_query("DELETE FROM ibwf_married WHERE id='".$id."'");
$tonick=getnick_uid($dbinfo["touid"]);

$byuid = getuid_sid($sid);
$person = getnick_sid($sid);
$who=$dbinfo["frmuid"];
$pmtext="Sorry, $tonick has refused your proposal. we are sorry to hear this, but feel free to try again at a later date";

$tm = time();
$res = mysql_query("INSERT INTO ibwf_private SET text='".$pmtext."', byuid='".$byuid."', touid='".$who."', timesent='".$tm."'");

echo "</p>";
echo "<p>";
echo "<small>Please Note: This Marriage IS NOT Legally Binding</small><br/>";
echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</body>";
}
else if($action=="chpreqacc")
{
$id=$_GET["id"];

addonline(getuid_sid($sid),"XHTML - Chapel","index.php?action=$action");
echo "<body>";
echo "<p>";
echo "<u><b>Chapel</b></u>";
echo "</p>";
echo "<p>";
$dbinfo=mysql_fetch_array(mysql_query("SELECT * FROM ibwf_married WHERE id='".$id."'"));
$frmnick=getnick_uid($dbinfo["frmuid"]);
echo "Congratulations!. Your Marriage To $frmnick Is Complete. We Hope You Are Both Happy in your new Relationship";
$dbinfo2=mysql_query("UPDATE ibwf_married SET agreed='1', complete='1' WHERE id='".$id."'");
$tonick=getnick_uid($dbinfo["touid"]);

$byuid = getuid_sid($sid);
$person = getnick_sid($sid);
$who=$dbinfo["frmuid"];
$pmtext="Congratulations!. Your Marriage To $tonick Is Complete. We Hope You Are Both Happy in your new Relationship";

$tm = time();
$res = mysql_query("INSERT INTO ibwf_private SET text='".$pmtext."', byuid='".$byuid."', touid='".$who."', timesent='".$tm."'");

echo "</p>";
echo "<p>";
echo "<small>Please Note: This Marriage IS NOT Legally Binding</small><br/>";
echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</body>";
}
else if($action=="chapel")
{
addonline(getuid_sid($sid),"XHTML - Chapel","index.php?action=$action");
echo "<body>";
echo "<p>";
echo "<u><b>Chapel</b></u>";
echo "</p>";
echo "<p>";
echo "Welcome To $sitename Online Chapel. <br/>Here You Can Get Married Online In Front Of Our Resident vicar Chaos_dragon";
echo "</p>";
$uid=getuid_sid($sid);
$chkcode=mysql_fetch_array(mysql_query("SELECT id FROM ibwf_married WHERE touid='".$uid."'"));
if($chkcode[0]>0)
{
$marriedinfo=mysql_fetch_array(mysql_query("SELECT * FROM ibwf_married WHERE touid='".$uid."'"));
echo "<p>";
$tonick=getnick_uid($marriedinfo['touid']);
$frmnick=getnick_uid($marriedinfo['frmuid']);
$mf=mysql_fetch_array(mysql_query("SELECT sex FROM ibwf_users WHERE id='".$marriedinfo['frmnick']."'"));
if($mf[0]=="M")
{
$sex=="Him";
$husb=="Husband";
}else{
$sex=="Her";
$husb=="Wife";
}
$i=$marriedinfo["ID"];
echo "<strong>Marriage Between $tonick and $frmnick</strong><br/><br/>";
echo "Your Only one step away from Marrying your true love. all you need to do is read and accept the vows below<br/><br/>";
echo "$tonick, do you take $frmnick to be your wedded $husb to live together in marriage. Do you promise to love, comfort, honor and keep $sex<br/>";
echo "For better or worse, for richer or poorer, in sickness and in health. And forsaking all others, be faithful only to<br/>";
echo "$sex so long as you both shall live?<br/><br/>";
echo "<a href=\"kasal.php?action=chpreqacc&amp;sid=$sid&amp;id=$i\">I Do</a><br/>";
echo "<a href=\"kasal.php?action=chpreqref&amp;sid=$sid&amp;id=$i\">Sorry, I Dont</a><br/>";
echo "</p>";
}else{
$nick=getnick_sid($sid);
echo "<p>";
echo "To Begin Please Enter The Nickname Of The User You Want to Marry, A PM will be sent<br/>";
echo "To them asking if they wish to marry you and inviting them to the chapel to complete the service.<br/>";
echo "By Sending the message below you agree to the below vows also";
echo "<br/><br/>";
echo "$nick, do you take [user] to be your wedded [wife/husband] to live together in marriage. Do you promise to love, comfort, honor and keep [him/her]<br/>";
echo "For better or worse, for richer or poorer, in sickness and in health. And forsaking all others, be faithful only to<br/>";
echo "[him/her] so long as you both shall live?<br/><br/>";
echo "Username:<br/>";
echo "<form name=\"form1\" action=\"kasal.php?action=chpsndreq&amp;sid=$sid\" method=\"post\">";
echo "<input name=\"marusr\" maxlength=\"25\"/><br/>";
echo "<input type=\"submit\" name=\"submit\" value=\"I Do\"></form>";
echo "</p>";
}
echo "<p>";
echo "<small>Please Note: This Marriage IS NOT Legally Binding</small><br/>";
echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</body>";
}
else if($action=="chpsndreq")
{
addonline(getuid_sid($sid),"XHTML - Chapel","index.php?action=$action");
echo "<body>";
echo "<p>";
echo "<u><b>Wap Chapel</b></u>";
echo "</p>";
echo "<p>";
echo "Welcome To Our Online Chapel. <br/>Here You Can Get Married Online In Front Of Our Resident vicar CHAOS_DRAGON";
echo "</p>";
$marusr = $_POST["marusr"];
$who = getuid_nick($marusr);
$whonick = getnick_uid($who);
if($who=="")
{
echo "<p>";
echo "Sorry this user does not exist, Please Try Again";
echo "<br/><br/><a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</body>";
echo "</html>";
exit;
}

$byuid = getuid_sid($sid);
$person = getnick_sid($sid);
$sql=mysql_query("INSERT INTO ibwf_married SET frmuid='".$byuid."', touid='".$who."'");
$sql2=mysql_fetch_array(mysql_query("SELECT id FROM ibwf_married WHERE frmuid='".$byuid."' AND touid='".$who."'"));
$pmtext="-marriage- $person would like to To ask For your hand in marriage, to accept or refuse visit the chapel link in the sites fun menu";

$tm = time();
$res = mysql_query("INSERT INTO ibwf_private SET text='".$pmtext."', byuid='".$byuid."', touid='".$who."', timesent='".$tm."'");
if($res)
{
echo "<p>";
echo "<img src=\"images/ok.gif\" alt=\"O\"/>";
echo "Marriage Request was sent successfully to $whonick<br/> please wait for a response</p>";
}else{
echo "<p>";
echo "<img src=\"images/notok.gif\" alt=\"X\"/>";
echo "Can't Send Request to $whonick</p>";
}
echo "<p>";
echo "<small>Please Note: This Marriage IS NOT Legally Binding</small><br/>";
echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</body>";
}
?>


This post has been edited by wizard: Jun 21 2008, 08:40 AM
Go to the top of the pageReport Post
Edit Post+Quote Post
subzero
post Jun 20 2008, 05:45 PM
Post #17


MASTER GURU!
Group Icon

Group: Super Moderator
Posts: 1,913
Joined: 2-March 06
From: adelaide
Member No.: 6,101



KING ? pmpl so so so sorry king in what ? lol


--------------------

The hardest part of growing up is admitting that your parents were right.

If I can't do it, homey - it can't be done.
I'm a bachelor baby **** what you heard.
You gonna hate me I'm gonna hate you too.

I'm Taken by grims-babe heart i love her to bit's


Sof Computers
Grim-Reaper
Best Hosting Servers
Free Mp3 and Lyrics !
Don't piss me off i bite.
Go to the top of the pageReport Post
+Quote Post
inet
post Jun 20 2008, 05:53 PM
Post #18


Beginner
**

Group: Members
Posts: 45
Joined: 5-September 07
Member No.: 13,922



this is my email facedown_pogi@yahoo.com and my user names in wapworld is face, facedown, inet, xyve, aspen thatproves that i coded that script lol

here are the proves...

adventure is my game script

CODE

<?php

$version = "version: v1.0";
$adven = "adventure";
?>

<?php
//header('Content-type: application/vnd.wap.xhtml+xml');
echo "<?xml version=\"1.0\"?>";
echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
include("config.php");
include("core.php");
$bcon = connectdb();

if (!$bcon)
{
echo "<head>";
echo "<title>$sitename</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white.css\">";
echo "<head>";
echo "<body>";
echo "<p align=\"center\">";
echo "<img src=\"../images/notok.gif\" alt=\"!\"/><br/>";
echo "<b><strong>Error! Cannot Connect To Database...</strong></b><br/><br/>";
echo "This error happens usually when backing up the database, please be patient...";
echo "</p>";
echo "</body>";
echo "</html>";
exit();
}

$action = $_GET["action"];
$sid = $_GET["sid"];
$sitename = mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='sitename'"));
$sitename = $sitename[0];
$uid = getuid_sid($sid);
$theme = mysql_fetch_array(mysql_query("SELECT theme FROM ibwf_users WHERE id='".$uid."'"));

if((islogged($sid)==false)||($uid==0))
{
echo "<head>";
echo "<title>Error!!!</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white_medium.css\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
echo "You are not logged in<br/>";
echo "Or Your session has been expired<br/><br/>";
echo "<a href=\"http://wapple.890m.com/index.php\">Login</a>";
echo "</p>";
echo "</body>";
echo "</html>";
exit();
}
if(isbanned($uid))
{
echo "<head>";
echo "<title>Error!!!</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
echo "<img src=\"../images/notok.gif\" alt=\"x\"/><br/>";
echo "<b>You are Banned</b><br/><br/>";
$banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM ibwf_penalties WHERE uid='".$uid."' AND penalty='1' OR uid='".$uid."' AND penalty='2'"));
$banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id='".$uid."'"));
$remain = $banto[0]- time();
$rmsg = gettimemsg($remain);
echo "<b>Time Left: </b>$rmsg<br/>";
$nick = getnick_uid($banto[2]);
echo "<b>By: </b>$nick<br/>";
echo "<b>Reason: </b>$banto[1]";
//echo "<a href=\"http://wapple.890m.com/index.php\">Login</a>";
echo "</p>";
echo "</body>";
echo "</html>";
exit();
}
if($action=="padventure")
{
addonline(getuid_sid($sid),"playing wapple planet adventure","");
$view = $_GET["view"];
if($view=="")$view="date";
echo "<card id=\"main\" title=\"Playing adventure\">";
echo "<p align=\"center\">";
echo "<img src=\"images/roll.gif\" alt=\"*\"/><br/>";
echo "<small>How great... Wanna play wapple planet adventure? good luck pinoy-wapper!</small>";
echo "</p>";
//////ALL LISTS SCRIPT <<

echo "<p align=\"center\">";
echo "<a href=\"adven.php?action=go&amp;sid=$sid\">»Go</a><br/>";
echo "</p>";
////// UNTILL HERE >>
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=funm&amp;sid=$sid\"><img src=\"images/roll.gif\" alt=\"*\"/>";
echo "Fun/Games</a><br/>";
echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "<br/>";
}
else if($action=="go")
{
addonline(getuid_sid($sid),"adventuring wapple planet","");
$view = $_GET["view"];
if($view=="")$view="date";
echo "<card id=\"main\" title=\"wapple planet\">";
echo "<p align=\"center\">";
echo "<big><b>Adventure $version</b></big><br/>";
echo "<b><small>Mania!</small></b>";
echo "</p>";

if(getplusses(getuid_sid($sid))<75)
{
echo "You need at least 75 plusses to play adventure!";
}

//////ALL LISTS SCRIPT <<

echo "<small><u>choose hero:</u></small>";
echo "<a href=\"adven.php?action=a&amp;sid=$sid\">King Wapple</a> , <a href=\"adven.php?action=b&amp;sid=$sid\">King Rohan</a> , <a href=\"adven.php?action=c&amp;sid=$sid\">King Xyve</a> , other hero not yet supported in this game $version like King Richard and Lothor<a href=\"adven.php?action=d&amp;sid=$sid\">King Richard</a>, <a href=\"adven.php?action=e&amp;sid=$sid\">King Lothor</a>";

echo "</p>";


////// UNTILL HERE >>
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=funm&amp;sid=$sid\">«back to fun menu</a><br/>";
echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "<br/>";
}
if($action=="a")
{
addonline(getuid_sid($sid),"ADVENTURING Hero Wapple","");
echo "<head>";
echo "<title>Adventure $version</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";

//////ALL LISTS SCRIPT <<

$num1 = rand(1, 5);

$uid = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_ses WHERE id='".$sid."'"));
$uid = $uid[0];
$usrid = $uid;
echo "<b><u>$adven $version</u></b><br/>";
echo "<b>King Wapple $adven</b><br/>";
echo "<small><u>You are armored with 3 sword and magical powers, try to kill your enemy!</u></small>";
echo "<p align=left><a href=\"adven.php?action=a&amp;sid=$sid\">Sword Attack</a> , <a href=\"adven.php?action=a&amp;sid=$sid\">Kick</a> , <a href=\"adven.php?action=a&amp;sid=$sid\">Magic</a>";
echo "</p>";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
echo "Golden Plusses: <b>$ugpl</b><br/>";
$power = rand(50,100);
echo "Power: <b>$power</b> <br/>";
$damage = rand(0,100);
$evil = Monster;
$gold = rand(30,100);

if ($num1 == 1) {
$num = rand(1, 3);
echo "You hit $evil with damage $damage. You've Won $gold Gold!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "$gold";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num1 == 2) {
$num = rand(1, 3);
echo "You hit $evil with damage $damage,but he return 2 kick for you with damage $gold. You've been attacked and Lost $gold gold!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "$gold";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num1 == 3) {
$num = rand(1, 3);
echo "You hit $evil damaging him $damage %. Then $evil return magic attack to you, damaging you $damage %. You draw! Minus 10 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "10";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num1 == 4) {
$num = rand(1, 3);
echo "You hit $evil with a damage of $damage %. Then $evil return a scratch attack to you $gold %. You draw! Minus $gold plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "$gold";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num1 == 5) {
$num = rand(1, 3);
echo "You hit $evil damaging him 0%. Miss... Miss! Miss! Minus 10 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "10";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
echo "<small><a href=\"index.php?action=funm&amp;sid=$sid\">Back To Fun Zone</a></small>";
echo "<br/>----------<br/>";
echo "<b>0 </b><a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p>";
echo "</body>";
}
if($action=="b")
{
addonline(getuid_sid($sid),"ADVENTURING Hero Rohan","");
echo "<head>";
echo "<title>Adventure $version</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";

//////ALL LISTS SCRIPT <<

$num2 = rand(1, 9);

$uid = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_ses WHERE id='".$sid."'"));
$uid = $uid[0];
$usrid = $uid;
echo "<b><u>$adven $version</u></b><br/>";
echo "<b>King Rohan $adven</b><br/>";
echo "<small><u>You are armored with Special Axe and magical powers, try to let your enemy with low lifepower!</u></small><br/>";
echo "<p align=left><a href=\"adven.php?action=b&amp;sid=$sid\">Axe Attack</a> , <a href=\"adven.php?action=b&amp;sid=$sid\">Kick</a> , <a href=\"adven.php?action=b&amp;sid=$sid\">Magic</a>";
echo "</p>";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
echo "Golden Plusses: <b>$ugpl</b><br/>";
$power = rand(50,100);
echo "Power: <b>$power</b><br/>";
$damage = rand(0,100);
$evil2 = Darklord;
$gold = rand(30,100);
$magic = rand(60,93);
$level = 2;
$level2 = 3;
$low = 1;
if ($num2 == 1) {
$num = rand(1, 3);
echo "You hit $evil2 with damage $damage. You've Won $gold Gold!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "$gold";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num2 == 2) {
$num = rand(1, 3);
echo "You hit $evil2 with damage $damage,but he return 2 body and $low high kick for you with damage $gold. You've been attacked and Lost $gold gold!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "$gold";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num2 == 3) {
$num = rand(1, 3);
echo "You cast magic $magic % with a hit to $evil2 damaging him $damage %. Then $evil2 return magic attack to you, damaging you $damage %. You draw! Minus 10 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "10";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num2 == 4) {
$num = rand(1, 3);
echo "You hit $evil2 with a damage of $damage %. Then $evil2 return <b>dark spell attack</b> to you $gold %. You draw! Minus $gold plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "$gold";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num2 == 5) {
$num = rand(1, 3);
echo "You hit $evil2 damaging him 0%. Miss... Miss! Miss! Minus 10 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "10";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num2 == 6) {
$num = rand(1, 3);
echo "You hit $evil2 damaging him 100%. level up $level2. You are a GODLIKE! Plus 90 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "90";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num2 == 7) {
$num = rand(1, 3);
echo "You hit $evil2 damaging him 40%. Level up to $level You win 50 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "50";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num2 == dirol.gif {
$num = rand(1, 3);
echo "You did not hit $evil2 . He jump faster than your attack! <b>Miss... Miss! Miss!</b> Minus 10 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "10";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num2 == 9) {
$num = rand(1, 3);
echo "You hit $evil2 $damage % damage, but he hit you 99 % damage. Minus 99 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "99";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
echo "<small><a href=\"index.php?action=funm&amp;sid=$sid\">Back To Fun Zone</a></small>";
echo "<br/>----------<br/>";
echo "<b>0 </b><a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p>";
echo "</body>";
}
if($action=="c")
{
addonline(getuid_sid($sid),"ADVENTURING Hero Rohan","");
echo "<head>";
echo "<title>Adventure $version</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";

//////ALL LISTS SCRIPT <<

$num2 = rand(1, 9);

$uid = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_ses WHERE id='".$sid."'"));
$uid = $uid[0];
$usrid = $uid;
echo "<b><u>$adven $version</u></b><br/>";
echo "<b>King Xyve $adven</b><br/>";
echo "<small><u>You are armored with Two bladed Samorai and Fire powers, try to let your enemy with low life stat!</u></small><br/>";
echo "<p align=left><a href=\"adven.php?action=c&amp;sid=$sid\">Samorai Attack</a> , <a href=\"adven.php?action=c&amp;sid=$sid\">Back-Stub</a> , <a href=\"adven.php?action=c&amp;sid=$sid\">Fire</a>";
echo "</p>";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
echo "Golden Plusses: <b>$ugpl</b><br/>";
$power = rand(50,100);
echo "Power: <b>$power</b><br/>";
$damage = rand(0,100);
$evil3 = HeadDragon;
$gold = rand(30,100);
$magic = rand(60,93);
$level = 2;
$level2 = 3;
$low = 1;
if ($num2 == 1) {
$num = rand(1, 3);
echo "You hit $evil3 with damage $damage. You've Won $gold Gold!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "$gold";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num2 == 2) {
$num = rand(1, 3);
echo "You hit $evil3 with damage $damage,but he return 2 kick for you with damage $magic . You've been attacked and Lost $gold gold!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "$gold";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num2 == 3) {
$num = rand(1, 3);
echo "You cast magic $magic % with a hit to $evil3 damaging him $damage %. Then $evi3 return magic attack to you, damaging you $damage %. You draw! Minus 10 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "10";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num2 == 4) {
$num = rand(1, 3);
echo "You hit $evil3 with a damage of $damage %. Then $evil2 return <b>hold spell attack</b> to you $gold %. You draw! Minus $gold plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "$gold";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num2 == 5) {
$num = rand(1, 3);
echo "You hit $evil3 damaging him 0%. Miss... Miss! Miss! Minus 10 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "10";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num2 == 6) {
$num = rand(1, 3);
echo "You hit $evil3 damaging him 100%. You are a GODLIKE! Plus 98 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "90";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num2 == 7) {
$num = rand(1, 3);
echo "You hit $evil3 damaging him 70%. Level up to $level2 You win 50 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "50";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num2 == dirol.gif {
$num = rand(1, 3);
echo "You did not hit $evil3 . He ran faster than your attack! <b>Miss... Miss! Miss!</b> Minus 10 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "10";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num2 == 9) {
$num = rand(1, 3);
echo "You hit $evil3 $damage % damage, but he hit you 100 % damage. Minus 100 plusses for that attack";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "99";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
echo "<small><a href=\"index.php?action=funm&amp;sid=$sid\">Back To Fun Zone</a></small>";
echo "<br/>----------<br/>";
echo "<b>0 </b><a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p>";
echo "</body>";
}

?>



the code written by facedown_pogi@yahoo.com

for wapple.890m.com

CODE

<?php
include("core.php");
include("config.php");
header("Content-type: text/html; charset=ISO-8859-1");
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";
echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\"\"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
echo "<html xmlns=\"http://www.w3.org/1999/xhtml\">";
echo "<head>";
echo "<title>$stitle</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"style/style.css\"/>";
echo "
<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />
<meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>
<meta name=\"description\" content=\"spammers club smile.gif\">
<meta name=\"keywords\" content=\"free, community, forums, chat, wap, communicate\">
";
echo "</head>";
echo "<body>";
$bcon = connectdb();
if (!$bcon)
{

echo "<p align=\"center\">";
echo "<img src=\"images/exit.gif\" alt=\"*\"/><br/>";
echo "ERROR! cannot connect to database<br/><br/>";
echo "This error usually happens when backing up the database, please be patient, The site will be up as soon as possible<br/><br/>";
echo "<b>THANK YOU VERY MUCH</b>";
echo "</p>";
exit();
}
$brws = explode(" ",$HTTP_USER_AGENT);
$ubr = $brws[0];
$uip = getip();
$action = $_GET["action"];
$sid = $_GET["sid"];
$page = $_GET["page"];
$who = $_GET["who"];
$wnick = getnick_uid($who);
$uid = getuid_sid($sid);
$version = "version: v1.0";
$bat = "wapbattle smilies warz";
cleardata();
if(isipbanned($uip,$ubr))
{
if(!isshield(getuid_sid($sid)))
{

echo "<p align=\"center\">";
echo "<img src=\"images/notok.gif\" alt=\"x\"/><br/>";
echo "This IP address is blocked<br/>";
echo "<br/>";
echo "However we grant a shield against IP-Ban for our best users, you can try to see if you are shielded by trying to login, if you keep coming to this page that means you are not shielded, so come back when the ip-ban period is over<br/><br/>";
$banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE penalty='2' AND ipadd='".$uip."' AND browserm='".$ubr."' LIMIT 1 "));
$remain = $banto[0] - time();
$rmsg = gettimemsg($remain);
echo " IP: $rmsg<br/><br/>";

echo "</p>";
echo "<p>";
echo "<form action=\"login.php\" method=\"get\">";
echo "username:<br/> <input name=\"loguid\" format=\"*x\" size=\"8\" maxlength=\"30\"/><br/>";
echo "password:<br/> <input type=\"password\" name=\"logpwd\" size=\"8\" maxlength=\"30\"/><br/>";
echo "<input type=\"submit\" value=\"login »\"/>";
echo "</form>";
echo "</p>";
exit();
}
}
if(($action != "") && ($action!="terms"))
{
$uid = getuid_sid($sid);
if((islogged($sid)==false)||($uid==0))
{

echo "<p align=\"center\">";
echo "You are not logged in<br/>";
echo "Or Your session has been expired<br/><br/>";
echo "<a href=\"index.php\">Login</a>";
echo "</p>";
exit();
}
}
if(isbanned($uid))
{

echo "<p align=\"center\">";
echo "<img src=\"images/notok.gif\" alt=\"x\"/><br/>";
echo "You are <b>Banned</b><br/>";
$banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE uid='".$uid."' AND penalty='1'"));
$banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id='".$uid."'"));

$remain = $banto[0]- time();
$rmsg = gettimemsg($remain);
echo "Time to finish your penalty: $rmsg<br/><br/>";
echo "Ban Reason: $banres[0]";
echo "</p>";
exit();
}
$res = mysql_query("UPDATE ibwf_users SET browserm='".$ubr."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'");

////////////////////////////////////////MAIN PAGE
if($action=="battle")
{
addonline(getuid_sid($sid),"playing $bat","");
$view = $_GET["view"];
if($view=="")$view="date";
echo "<p align=\"center\">";
echo "<img src=\"images/roll.gif\" alt=\"*\"/><br/>";
echo "<small>Earn more plusses! You wanna play $bat? good luck pinoy-wapper!</small>";
echo "</p>";
echo "<p align=\"center\">";
echo "<a href=\"adv.php?action=bat&amp;sid=$sid\">»Play $bat</a><br/>";
echo "</p>";
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=funm&amp;sid=$sid\"><img src=\"images/roll.gif\" alt=\"*\"/>";
echo "Fun/Games</a><br/>";
echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
exit();
}

else if($action=="bat")
{
addonline(getuid_sid($sid),"Trying his luck at $bat","");
$view = $_GET["view"];
if($view=="")$view="date";
echo "<p align=\"center\">";
echo "<big><b>$bat $version</b></big><br/>";
echo "<b><small>Craze!</small></b>";

if(getplusses(getuid_sid($sid))<75)
{
echo "You need at least 75 plusses to play $bat!";
}
echo "</p>";
//////ALL LISTS SCRIPT <<

echo "<p align=\"left\">";
echo "<small><u>choose character:</u></small>";
echo "<p align=\"center\">";
echo "<a href=\"adv.php?action=bata&amp;sid=$sid\"><img alt=\"*\" src=\"../final_files/2guns.gif\"/></a> - <a href=\"adv.php?action=batb&amp;sid=$sid\"><img alt=\"*\" src=\"../final_files/7.gif\"/></a>";

echo "</p>";


////// UNTILL HERE >>
echo "<p align=\"center\">";
echo "<a href=\"index.php?action=funm&amp;sid=$sid\">«back to fun menu</a><br/>";
echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
exit();
}
if($action=="bata")
{
addonline(getuid_sid($sid),"Playing $bat","");
echo "<p align=\"center\">";
//////ALL LISTS SCRIPT <<

$num1 = rand(1, 6);

$uid = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_ses WHERE id='".$sid."'"));
$uid = $uid[0];
$usrid = $uid;
echo "<b><u>$bat $version</u></b><br/>";
echo "<b>Todo na to!</b><br/>";
echo "<small><u>choose from:</u></small>";
echo "<a href=\"adv.php?action=bata&amp;sid=$sid\">[fire]</a> , <a href=\"adv.php?action=bata&amp;sid=$sid\">[double gun]</a> , <a href=\"adv.php?action=bata&amp;sid=$sid\">[shot]</a>";
echo "</p>";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
echo "Plusses: <b>$ugpl</b><br/>";

if ($num1 == 1) {
$num = rand(1, 3);
echo " <br/><img alt=\"\" src=\"../final_files/2guns.gif\"/>---power]]]]]]]]]]]]]]]]]]]]]]]>*= =
<img alt=\"\" src=\"../final_files/7.gif\"/> <br/> You've Won 100 Plusses!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "100";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num1 == 2) {
$num = rand(1, 3);
echo "<br/><img alt=\"\" src=\"../final_files/2guns.gif\"/>---lowpower]>*=====================
<img alt=\"\" src=\"../final_files/7.gif\"/>.<br/> Sorry You've Lost 50 Plusses!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "50";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num1 == 3) {
$num = rand(1, 3);
echo "<br/><img alt=\"\" src=\"../final_files/2guns.gif\"/>---draw]]]]]]]]]]]]]]>*[[[[[[[[[[[[[[draw
<img alt=\"\" src=\"../final_files/7.gif\"/><br/>. You draw! Minus 10 plusses for transaction fee";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "10";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num1 == 4) {
$num = rand(1, 3);
echo "<br/><img alt=\"\" src=\"../final_files/2guns.gif\"/>---]]]]]>*((((((((((((((((((super========
<img alt=\"\" src=\"../final_files/7.gif\"/><br/>. You lost! Minus 40 plusses for transaction fee";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "40";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num1 == 5) {
$num = rand(1, 3);
echo "<br/><img alt=\"\" src=\"../final_files/ghost.gif\"/>-*dead*-------------------------------------
<img alt=\"\" src=\"../final_files/7.gif\"/><br/>. You lost! Minus 100000 from all your plusses for transaction fee";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "100000";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num1 == 6) {
$num = rand(1, 3);
echo "<br/><img alt=\"\" src=\"../final_files/2guns.gif\"/>--------------------------------------------*dead*-
<img alt=\"\" src=\"../final_files/ghost.gif\"/><br/>. You won! plus 100000 plusses for you!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "100000";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
echo "<small><a href=\"index.php?action=funm&amp;sid=$sid\">Back To Fun Zone</a></small>";
echo "<br/>----------<br/>";
echo "<b>0 </b><a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p>";
}

if($action=="batb")
{
addonline(getuid_sid($sid),"Playing $bat","");
echo "<p align=\"center\">";

//////ALL LISTS SCRIPT <<

$num1 = rand(1, 6);

$uid = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_ses WHERE id='".$sid."'"));
$uid = $uid[0];
$usrid = $uid;
echo "<b><u>$bat $version</u></b><br/>";
echo "<b>Todo na to!</b><br/>";
echo "<small><u>choose from:</u></small>";
echo "<a href=\"adv.php?action=batb&amp;sid=$sid\">[fire]</a> , <a href=\"adv.php?action=batb&amp;sid=$sid\">[double gun]</a> , <a href=\"adv.php?action=batb&amp;sid=$sid\">[shot]</a>";
echo "</p>";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
echo "Plusses: <b>$ugpl</b><br/>";

if ($num1 == 1) {
$num = rand(1, 3);
echo " <br/><img src=\"../final_files/2guns.gif\" alt=\"\"/>---]]=========================power
<img src=\"../final_files/7.gif\" alt=\"\"/> <br/> You've Won 100 Plusses!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "100";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}

if ($num1 == 2) {
$num = rand(1, 3);
echo "<br/><img alt=\"\" src=\"../final_files/2guns.gif\"/>---power---------]................>*==
<img alt=\"\" src=\"../final_files/7.gif\"/>.<br/> Sorry You've Lost 50 Plusses!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "50";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}

if ($num1 == 3) {
$num = rand(1, 3);
echo "<br/><img alt=\"\" src=\"../final_files/2guns.gif\"/>---draw]]]]]]]]]]]]]]>*[[[[[[[[[[[[[[draw
<img alt=\"\" src=\"../final_files/7.gif\"/><br/>. You draw! Minus 10 plusses for transaction fee";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "10";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num1 == 4) {
$num = rand(1, 3);
echo "<br/><img alt=\"\" src=\"../final_files/2guns.gif\"/>---super]]]]]]]]]]]]]]]]]]]]]]]]]>*(((========
<img alt=\"\" src=\"../final_files/7.gif\"/><br/>. You lost! Minus 40 plusses for transaction fee";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "40";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num1 == 5) {
$num = rand(1, 3);
echo "<br/><img alt=\"\" src=\"../final_files/ghost.gif\"/>-*dead*-------------------------------------
<img alt=\"\" src=\"../final_files/7.gif\"/><br/>. You win! plus 100000 from all your plusses for 0 transaction fee";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl + "100000";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
if ($num1 == 6) {
$num = rand(1, 3);
echo "<br/><img alt=\"\" src=\"../final_files/2guns.gif\"/>--------------------------------------------*dead*-
<img alt=\"\" src=\"../final_files/ghost.gif\"/><br/>. You lose! minus 100000 plusses for you!";
$ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
$ugpl = $ugpl[0];
$ugpl2 = $ugpl - "100000";
mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");

echo "<br/>";
}
echo "<small><a href=\"index.php?action=funm&amp;sid=$sid\">Back To Fun Zone</a></small>";
echo "<br/>----------<br/>";
echo "<b>0 </b><a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p>";
}

else{
addonline(getuid_sid($sid),"Where am i?","");
echo "<p align=\"center\">";
echo "I don't know how did you get into here, but there's nothing to show<br/><br/>";
echo "<a href=\"/xhtml/index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p>";
exit();
}


echo "</body>";
echo "</html>";
?>


This post has been edited by wizard: Jun 21 2008, 08:38 AM
Go to the top of the pageReport Post
Edit Post+Quote Post
wizard
post Jun 21 2008, 08:34 AM
Post #19


Forum GURU
Group Icon

Group: Moderators
Posts: 617
Joined: 25-April 06
From: kingston
Member No.: 6,895



QUOTE(inet @ Jun 19 2008, 06:11 PM) *
I have thousands of ideas to come lol such i'm not worried to release one of my scripts.. lol

i'm planning to release the rpg for all.. what would be the wap world with having sites with lots of games to critical to all admins..

well actually, giving new games is the best way to achieve new members.. well i'm not planning to be just wapmaster but instead a seller of games scripts.. tnt lol i just earned 40 dollars last night...
i will code in exchange of money.. thats my very reason lol.. i'm earning.. tnt

this script only prove that i will sell my ideas to all..



code the games properly if you are gonna sell them. dont sell ppl sh*t :|


--------------------
Go to the top of the pageReport Post
+Quote Post
inca
post Jun 21 2008, 02:18 PM
Post #20


Newbie
*

Group: Members
Posts: 10
Joined: 16-February 08
Member No.: 16,336



oh dear think someone made a booboo and posted the script i posted
QUOTE
<?php

include("core.php");

include("config.php");

header("Content-type: text/html; charset=ISO-8859-1");

echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";

echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\"\"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";

echo "<html xmlns=\"http://www.w3.org/1999/xhtml\">";

echo "<head>";

echo "<title>$stitle</title>";

echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"style/style.css\"/>";

echo "

<meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />

<meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>

<meta name=\"description\" content=\"spammers club \">

rofl focus.gif maybe its cos thats the version without errors lol
Go to the top of the pageReport Post
+Quote Post

3 Pages V  < 1 2 3 >
Fast ReplyReply to this topicStart new topic
1 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
1 Members: inet

 



Rating  


RSS
Lo-Fi Version 0.1207 sec    --    13 queries    GZIP Enabled
Time is now: 23rd June 2008 - 10:41 PM
Skin by: AD